Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CePO #1

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

CePO #1

wants to merge 21 commits into from

Conversation

pawelf-cerebras
Copy link
Collaborator

@pawelf-cerebras pawelf-cerebras commented Dec 19, 2024

Adding Cerebras Planning and Optimization (CePO). On high-level, in CePO, we make m attempts to generate n step-by-step plans, refine the plans, check inconsistencies between them, use the above feedback to generate the final plan and produce the answer. This process is them repeated N times in a classical best of n manner.

  • Added implementation of CePO
  • Integrated CePO with optillm

optillm/cepo.py Outdated Show resolved Hide resolved
@erich-cerebras
Copy link
Collaborator

Do we also want to maybe edit the ReadMe.md here: https://github.com/CerebrasResearch/cb_optillm/blob/cepo/README.md#implemented-techniques ?

This will allow users to do the following:
1. Cli where if they can pass in anything that's "cepo_<name-of-attribute>"
2. Yaml file where if they pass it in as "<name-of-attribute>"
3. If none of them have a specific attribute, we use the default setting
4. If both of them have the specific attribute, we error out
Copy link
Collaborator

@erich-cerebras erich-cerebras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of small comments, besides that it LGTM!

optillm/cepo.py Outdated Show resolved Hide resolved
optillm/cepo.py Outdated Show resolved Hide resolved
@pawelf-cerebras pawelf-cerebras changed the title Cepo CePO Jan 2, 2025
@pawelf-cerebras pawelf-cerebras marked this pull request as ready for review January 2, 2025 18:06
configs/cepo_config.yaml Show resolved Hide resolved
optillm/cepo.py Outdated Show resolved Hide resolved
optillm/cepo.py Outdated Show resolved Hide resolved
optillm/cepo.py Show resolved Hide resolved
optillm/cepo.py Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
optillm/cepo.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants